from django.contrib import admin

from user.models import Industry, Area
from user.models import User


@admin.register(Industry)
class IndustryAdmin(admin.ModelAdmin):
    list_display = ('name',)
    search_fields = ('name', 'name')


@admin.register(Area)
class AreaAdmin(admin.ModelAdmin):
    list_display = ('name',)
    search_fields = ('name', 'name')


@admin.register(User)
class UserAdmin(admin.ModelAdmin):
    list_display = ('name',)
    search_fields = ('name', 'name')
